package com.Cychat.schedule.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 用户视图对象（用于前端展示用户相关信息）
 *
 * @author 谢宝辉
 * @date 2025/10/29 11:47
 */
@Data
@Schema(description = "用户视图对象")
public class UserVo {

    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "宠物主人ID")
    private Integer petOwnerId;

    @Schema(description = "用户昵称")
    private String nickName;

    @Schema(description = "头像URL")
    private String avatarUrl;

    @Schema(description = "性别(0-未知,1-男,2-女)")
    private Integer gender;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "语言")
    private String language;

    @Schema(description = "积分")
    private Integer points;

    @Schema(description = "会员等级")
    private Integer vipLevel;

    @Schema(description = "健康评分")
    private Integer healthScore;

    @Schema(description = "宠物数量")
    private Integer petCount;

    @Schema(description = "创建时间")
    private Date createTime;

    // 从PetOwner关联的字段（如果前端需要展示）
    @Schema(description = "常住地址")
    private String address;

    @Schema(description = "紧急联系人手机号")
    private String emergencyContact;
}